<?php
header("Content-Type: text/html; charset=utf-8");
$db=new mysqli('localhost','root','','db_st',3306);
if ($db->connect_error) {
    die("连接失败,出错信息的是" . $db->connect_error);
} 
$db->query("set names utf8");

?>
